import http from '@/utils/http'

// 讲师列表
export const getTeacherPage = (params) => http.post('/api/teacher/pager', { ...params })

export const getTeacherList = (params) => http.post('/api/teacher/list', { ...params })

export const getTeacherDetail = (params) => http.post('/api/teacher/get', { ...params })

export const addTeacher = (params) => http.post('/api/teacher/add', { ...params })

export const updateTeacher = (params) => http.post('/api/teacher/update', { ...params })

export const deleteTeacher = (params) => http.post('/api/teacher/delete', { ...params })
